<%--
  Created by IntelliJ IDEA.
  User: zheng
  Date: 2018/7/7
  Time: 21:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/WEB-INF/views/commons/common.jsp"/>
    <script  type="text/javascript" src="/static/js/system/datadictionary.js"></script>
    <title>数据字典管理</title>
</head>
<body>
<!--设置一个布局-->
<div style="height: 700px">
<div id="data_layout" class="easyui-layout" style="width:600px;height:400px;"
     data-options="fit:true">
    <div data-options="region:'west',title:'数据字典列表',split:true" style="width:800px;">
        <!--西边栏目内含一个主数据表格-->
        <table id="maindata_dg"></table>
    </div>
    <div data-options="region:'center',title:'明细数据列表'" style="padding:5px;background:#eee;">
        <table id="subdata_dg"></table>

    </div>
</div>
</div>




<!--左栏目的工具栏-->
<div id="tb">
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-add8',resizable:true,modal:true" data-cmd="add">增加
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-remove8',resizable:true,modal:true" data-cmd="remove">删除
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-edit8',resizable:true,modal:true" data-cmd="edit">更新
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-reload8',resizable:true,modal:true" data-cmd="reload">刷新
    </a>
</div>
<!--中间明细的工具栏-->
<div id="tc">
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-add8',resizable:true,modal:true" data-cmd="addSub">增加
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-remove8',resizable:true,modal:true" data-cmd="removeSub">删除
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-edit8',resizable:true,modal:true" data-cmd="editSub">更新
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-reload8',resizable:true,modal:true" data-cmd="reloadSub">刷新
    </a>
</div>


<!--输入信息用 dialog-->
<div id="dd">
    <form id="ff" method="post">
        <input type="hidden" id="Id" name="id">
        <input type="hidden" id="parentId" name="parent_id">
        <table align="center"  style=" border-collapse:separate;
            padding-top: 10px; border-spacing: 0px 10px;">
            <tr>

                <td>数据类型名称:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="name"/>
                </td>
            </tr>
            <tr>
                <td>数据类型编码:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="sn"/>
                </td>
            </tr>
            <tr>
                <td>数据简介:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="intro"
                    style="width:230px ;height: 100px " multiline="true" />
                </td>
            </tr>
        </table>
    </form>
</div>


<!--保存/取消按钮-->
<div id="bb">
    <a href="#" class="easyui-linkbutton" iconCls='icon-save8' data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls='icon-cancel8'data-cmd="cancel">关闭</a>
</div>

</body>
</html>
